module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset',
    ['@babel/preset-env', { 
      targets: '> 0.5%, last 2 versions, not dead',
      shippedProposals: true 
    }],
    '@babel/preset-typescript'
  ],
  'plugins': [
    [
      'import',
      {
        'libraryName': 'vant',
        'libraryDirectory': 'es',
        'style': true
      }
    ],
    // ['@babel/plugin-proposal-decorators', { version: '2023-05' }],
    '@babel/plugin-proposal-export-default-from'
  ]
}
